package com.chencs.lm.service;


import com.chencs.common.menu.service.MenuService;
import com.chencs.webmvc.rest.RestFullTemplate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LmWebMemberSer {
    private static final Logger logger = LoggerFactory.getLogger(LmWebMemberSer.class.getName());

    @Autowired
    RestFullTemplate restTemplate;
    /**标志远程服务url**/
    private static final String URLPATH = "service-common/m/lmMember/";

    public String getList() throws Exception{
        String ret = restTemplate.postForObject(URLPATH + "getList", String.class,"{}");
        logger.info("MenuService getList zuulGateWay result {}", ret);
        return ret;
    }
}
